package com.snail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snail.model.dto.ManageQuesstionDto;
import com.snail.model.pojo.BizQuestion;
import com.snail.response.BaseResponse;

/**
* @author Monica
* @description 针对表【biz_question(生成问题（非选择）表)】的数据库操作Service
* @createDate 2025-07-16 10:22:25
*/
public interface BizQuestionService extends IService<BizQuestion> {

    BaseResponse<?> addQuestion(ManageQuesstionDto dto);

    BaseResponse<?> deleteQuestion(Long id);

    BaseResponse<?> updateQuestion(Long id, ManageQuesstionDto dto);

    BaseResponse<?> listQuestions(Integer questionType,Integer questionTags, Integer page, Integer size);

    BaseResponse<?> getQuestionById(Long id);

}
